package com.xxxy.ljh.myapplication.model;

public class Activity {
    private int id;
    private String name;
    private String time;
    private String location;
    private String description;
    private int participantCount;

    // 构造函数
    public Activity() {}

    public Activity(int id, String name, String time, String location, String description, int participantCount) {
        this.id = id;
        this.name = name;
        this.time = time;
        this.location = location;
        this.description = description;
        this.participantCount = participantCount;
    }

    // Getter和Setter方法
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getParticipantCount() {
        return participantCount;
    }

    public void setParticipantCount(int participantCount) {
        this.participantCount = participantCount;
    }
}
